package com.zjitc.pojo;

public class Cart {
    private int c_id;
    private int u_id;
    private int p_id;
    private String c_name;
    private int c_price;
    private int c_number;
    private String c_img;
    private Product product;

    public Product getProduct() {
        return product;
    }

    public void setProduct(Product product) {
        this.product = product;
    }

    public int getC_id() {
        return c_id;
    }

    public void setC_id(int c_id) {
        this.c_id = c_id;
    }

    public int getU_id() {
        return u_id;
    }

    public void setU_id(int u_id) {
        this.u_id = u_id;
    }

    public int getP_id() {
        return p_id;
    }

    public void setP_id(int p_id) {
        this.p_id = p_id;
    }

    public String getC_name() {
        return c_name;
    }

    public void setC_name(String c_name) {
        this.c_name = c_name;
    }

    public int getC_price() {
        return c_price;
    }

    public void setC_price(int c_price) {
        this.c_price = c_price;
    }

    public int getC_number() {
        return c_number;
    }

    public void setC_number(int c_number) {
        this.c_number = c_number;
    }

    public String getC_img() {
        return c_img;
    }

    public void setC_img(String c_img) {
        this.c_img = c_img;
    }

    @Override
    public String toString() {
        return "Cart{" +
                "c_id=" + c_id +
                ", u_id=" + u_id +
                ", p_id=" + p_id +
                ", c_name='" + c_name + '\'' +
                ", c_price=" + c_price +
                ", c_number=" + c_number +
                ", c_img='" + c_img + '\'' +
                ", product=" + product +
                '}';
    }
}
